import React from "react"
import{
    HashRouter,
    Switch,
    Route,
    Link,
} from "react-router-dom";
import Denglv from "./component/denglv"
import Zhuce from "./component/zhuce"
import Header from "./component/Header"
class Router extends React.Component{
    render(){
        return(
            <HashRouter>
                <Switch>
                    <Route path="/denglv" component={Denglv}></Route>
                    <Route path="/zhuce" component={Zhuce}></Route>
                    <Route path="/" component={Header}></Route>
                </Switch>
            </HashRouter>
        )
    }
}
export default Router

